<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/commons/taglibs.jsp" %>
<!DOCTYPE html>
<html>
<%@ include file="/commons/head.jsp" %>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
    <%@ include file="/commons/left.jsp" %>
    <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
            <h1>
                公文流转
            </h1>
            <section class="content">
                <div class="row">
                    <div class="col-xs-12">
                        <div class="box">
                            <div class="box-header">
                                <form  name="searchForm" id="searchForm" action="${ctx}/workflow/listWorkFlow" method="get">
                                    <input type="hidden" id="pageNum" name="pageNum" value="1" />
                                    <input type="hidden" id="length" name="length" value="10" />
                                   <%--&lt;%&ndash; <div class="input_box">
                                        <label  style=" float: left; height: 34px; line-height: 34px;">父类名称：</label>
                                        <div class="input"  style="float: left;" class="form-control">
                                            <select name="parentNodes" class="form-control">
                                                <option value="" <c:if test="${query.parentNodes==''}">selected="selected"</c:if>>全部</option>
                                                <c:forEach var="item" items="${allArticleCategory}" varStatus="vs">
                                                    <option value="${item.id}" <c:if test='${ query.parentNodes==item.id}'>selected='selected'</c:if>>${item.categoryName}</option>
                                                </c:forEach>
                                            </select>
                                        </div>
                                    </div>&ndash;%&gt;
                                    <div class="input_btn" style=" float: left;">
                                        <input type="submit" class="btn btn-default" value="查询">
                                    </div>--%>
                                </form>


                               <%-- <div class="margin" style="float:right;">
                                    <button type="button" class="btn btn-default"><span
                                            class="glyphicon glyphicon-plus"></span> 新增
                                    </button>
                                </div>--%>
                            </div>
                            <div class="box-body">
                                <table id="example2" class="table table-bordered table-hover">
                                    <thead>
                                    <tr>
                                        <th>接收人</th>
                                        <th>标题</th>
                                        <th>回复内容</th>
                                        <th>引用案件</th>
                                        <th>原始内容</th>
                                        <th>状态</th>
                                        <th>操作</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    <c:if test="${page.maxRow > 0}">
                                        <c:forEach var="item" items="${listWorkFlow}" varStatus="vs">
                                            <tr>
                                                <td>${item.acceptId}</td>
                                                <td>${item.title}</td>
                                                <td>${item.reply}</td>
                                                <td>${item.caseIds}</td>
                                                <td>${item.content}</td>
                                                <c:if test="${item.isStatis==1}">
                                                    <td><span class="red">禁用</span></td>
                                            &lt;%&ndash;        <td>
                                                        <a onclick="statusEnabled('${item.id}',0)" data-able="0">启用</a><em></em>
                                                        <a onclick="openArticleCategoryEdit('${item.id}')">修改</a><em></em>
                                                        <a onclick="deleteArticleCategory('${item.id}')">删除</a>
                                                    </td>&ndash;%&gt;
                                                </c:if>
                                                <c:if test="${item.isStatis==0}">
                                                    <td><span class="green">发布</span></td>
                                      &lt;%&ndash;              <td>
                                                        <a onclick="statusEnabled('${item.id}',1)" data-able="1">禁用</a><em></em>
                                                        <a onclick="openArticleCategoryEdit('${item.id}')">修改</a><em></em>
                                                        <a onclick="deleteArticleCategory('${item.id}')">删除</a>
                                                    </td>&ndash;%&gt;
                                                </c:if>
                                            </tr>
                                        </c:forEach>
                                    </c:if>
                                    </tbody>
                                </table>
                                <div>
                                    <jsp:include page="/commons/pagination.jsp"/>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </section>
        </section>

    </div>
    <%@ include file="/commons/script.jsp" %>
</body>
</html>



